package com.yonyou.rabbitmq.common.enums;

public enum MessageStatusEnum implements BaseEnum{

    PRE_SEND("0","待发送"),
    MESSAGE_ACK("1","已回复(交换机)"),
    MESSAGE_NACK("2","未回复(交换机)"),
    ROUTE_FAIL("3","路由失败"),
    CONSUME_FAIL("4","消费失败"),
    CONSUME_SUCCESS("10","消费成功");

    private final String key;
    private final String value;

    MessageStatusEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    @Override
    public String getKey() {
        return null;
    }

    @Override
    public String getValue() {
        return null;
    }
}
